package lad02.test16;

public class Division extends Arithmetic {
    int a;
    @Override
    int arithmetic(int number, int count) {
        if (count == 0) {
            System.out.println("0不能作除数");
        } else {
            a = number / count;
        }
        return a;
    }
    }

